package com.empsys.mapper;

import com.empsys.pojo.RunLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @author wzm
 * @create 2023-12-18 10:27
 * project_name:web2310
 * @Description
 */
//设计日志接口功能
@Mapper
public interface RunLogMapper {

    //插入日志信息
    @Insert("insert into run_log(run_user,run_time,class_name,method_name,method_params,return_value,final_time) " +
            "values(#{runUser},#{runTime},#{className},#{methodName},#{methodParams},#{returnValue},#{finalTime})")
    public void insert(RunLog runLog);

}
